package zms.roya.java.junit;

import static org.junit.Assert.*;
 
import static org.hamcrest.Matchers.*;

import org.junit.Test;

public class Ttest1 {

	@Test
	public void testAddd() {
		Calcuator ca=new Calcuator();
		int result=ca.addd(3, 4);
		int result2=ca.addd(399, 1);
	 
		 assertEquals(7,result,0);
		assertEquals(400,result2); 
		assertThat(result,is(7));
		
		 
	}
 

}
